set the member of sprite textSprite to member gDialDisplayField
set winRect to the rect of getAt(the windowList, 1)
set the locH of sprite gURSprite to the width of winRect
set the locV of sprite gLLSprite to the height of winRect
set the loc of sprite gLRSprite to point(the width of winRect, the height of winRect)
set the rect of sprite gTopBarSprite to rect(0, 0, the width of winRect, the height of sprite gTopBarSprite)
set the rect of sprite gBottomBarSprite to rect(0, the height of winRect - the height of sprite gBottomBarSprite, the width of winRect, the height of winRect)
set the rect of sprite gLeftBarSprite to rect(0, 0, the width of sprite gLeftBarSprite, the height of winRect)
set the rect of sprite gRightBarSprite to rect(the width of winRect - the width of sprite gRightBarSprite, 0, the width of winRect, the height of winRect)
set myCenterHPoint to the width of winRect / 2
set myVerButPoint to the height of winRect - 40
set the loc of sprite MiddleButtonSprite to point(myCenterHPoint, myVerButPoint)
set myTall to myVerButPoint - the height of sprite RightButtonSprite
if gDialDisplayField = "shopping promt" then
set the loc of sprite numberSprite to point(myCenterHPoint + 10, myTall)
set the loc of sprite numberOfSprite to point(myCenterHPoint - the width of sprite numberOfSprite, myTall - 7)
else
set the loc of sprite numberSprite to point(-2000, -2000)
set the loc of sprite numberOfSprite to point(-2000, -2000)
end if
set the loc of sprite LeftButtonSprite to point(myCenterHPoint / 2, myVerButPoint)
set the loc of sprite RightButtonSprite to point((myCenterHPoint / 2) + myCenterHPoint, myVerButPoint)